package com.qf.entity;
import lombok.*;
import org.springframework.beans.BeanUtils;

import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class StudentVO extends Student{

    //封装教室信息
    private Classroom classroom;
    // 封装多个学科信息--将老师信息也关联起来,需要添加SubjectVO类
    private List<SubjectVO> subjectList;

    public void setSubjectList(List<SubjectVO> subjectList) {
        this.subjectList = subjectList;
    }
}